From: Florian Müllner Date: Fri, 20 Sep 2019 11:14:40 +0000 (+0200) Subject: screenShield: Stop using deprecated actor property X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=92e5713e29ef925bfd1e3da39ced3a7e0a573192;p=gnome-shell.git screenShield: Stop using deprecated actor property Both LoginDialog and UnlockDialog are now actor subclasses, so stop using the deprecated actor delegate that will trigger a warning. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/736 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index f79be611c..2e2e95a38 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -916,8 +916,8 @@ var ScreenShield = class { this._lockScreenGroup.hide(); if (this._dialog) { - this._dialog.actor.grab_key_focus(); - this._dialog.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false); + this._dialog.grab_key_focus(); + this._dialog.navigate_focus(null, St.DirectionType.TAB_FORWARD, false); } }